<%-- 
	Description: 该jsp是注册、忘记密码、登入等使用的页面头
	
	Created on : 2015-6-24, 17:04:02
	Author : chenhao
--%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>

 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%--
<c:set var="path" value="${pageContext.request.contextPath}"/>
<c:set var="upload" value="http://localhost:8082/ecps-pic/"/>
<c:set var="system" value="/ecps/console"/> --%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- <title>Insert title here</title> -->
</head>

<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-1.11.0.min.js"></script>
<script src="${pageContext.request.contextPath}/js/jquery.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/pic_scroll.js"></script>
<link rel="stylesheet" href="${pageContext.request.contextPath}/css/style.css" type="text/css">
<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery.movebg.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/publicJs.js"></script>


<script type="text/javascript">
	$(function() {
		/*导航条  */
		$(".nav").movebg({
			width : 100/*滑块的大小*/,
			extra : 40/*额外反弹的距离*/,
			speed : 300/*滑块移动的速度*/,
			rebound_speed : 400
		/*滑块反弹的速度*/
		});
	
	});
	
	/* function skips(temp){
		debugger;
		 cleans();
		 $(".nav-item:eq("+temp+")").addClass("cur");
		 $(".nav-item:eq("+temp+")").find("a").removeAttr("target");
		 debugger;
	}
	
	function cleans(){
		$(".nav .nav-item").each(function(i) {
			$(this).removeClass("cur");
			$(this).find("a").attr("target","_blank");
		    });
	} */
	
	
</script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery.movebg.js"></script>

<body>
   <div class="width">
		<table height="85" border="0" cellpadding="0" cellspacing="0"
			width="100%">
			<tbody>
				<tr>
					<td width="266"><h1 style="height:70px;width:266px;">
							<a title="100全年历史图库 100tk.com - 随时查看001－150期全年图纸记录"
								href="http://www.100tk.com/"><img alt="100图库 www.100tk.com"
								src="${pageContext.request.contextPath}/images/png/logo.png">
							</a>
						</h1>
					</td>
					<td width="298">
						<div>
							<a href="http://g.da000.com:889/url.html?Intr=230526"
								target="_blank"><img
								src="${pageContext.request.contextPath}/images/gif/0f0002sMjO_p6aTTNXP8Nf.gif" height="50"
								width="275">
							</a>
						</div></td>

					<td width="436">
						<div id="loginDiv" class="vip">
						<c:if test="${sessionScope.selectLogin==null}">
							<form name="userlogin" action="${pageContext.request.contextPath}/result/headLogin.do" method="POST">
								<div class="fb">
									<span>用户名</span> <input name="username" style="width:162px"
										class="ipt-txt" type="text"> <a
										href="${pageContext.request.contextPath}/skip/register.do">注册帐号</a>
								</div>
								<div class="fb" style="margin-top:5px;">
									<span>密&nbsp;&nbsp;码</span> <input name="password"
										style="width:100px" class="ipt-txt" type="password">
									<button type="submit" class="btn-1">登录</button>
									<a href="${pageContext.request.contextPath}/skip/forgetPwd.do">忘记密码?</a>
								</div>
							</form>
							</c:if>
							<c:if test="${sessionScope.selectLogin!=null}">
							<ul style="margin-top: 10px">
									<li class="n">
									 <span id="greetings"></span>
									   <a href="http://www.100tk.com/user/" class="userName">[${sessionScope.selectLogin.username}]</a>
									   <span style="padding-left: 20px">
									     <a href="${pageContext.request.contextPath}/skip/afterLogin/alterPassword.do">修改密码</a> 
										<a href="${pageContext.request.contextPath}/result/dologout.do">[安全退出]</a> 
									    </span>
									</li>
									<li class="m"><a
										href="${pageContext.request.contextPath}/skip/afLoCollect.do">[我的收藏图]</a><a
										href="http://www.100tk.com/user/Fig_list.htm?type=1">[我的彩色图]</a><a
										style="padding-right: 0px"
										href="http://www.100tk.com/user/Fig_list.htm?type=2">[我的黑白图]</a>
									</li>
								</ul>
							</c:if>
							
						</div>
						</td>
				</tr>
			</tbody>
		</table>
	</div>




	<!--导航代码 开始 -->
	<div class="wraper">
		<div class="nav">
			<ul>
				<li class="nav-item " ><a href="${pageContext.request.contextPath}" target="_blank">图库首页</a>
				</li>
				<li class="nav-item "><a href="${pageContext.request.contextPath}/skip/coloursPage.do" target="_blank">彩色图库</a>
				</li>
				<li class="nav-item"><a href="${pageContext.request.contextPath}/skip/blackPage.do" target="_blank">黑白图库</a>
				</li>
				<li class="nav-item cur"><a href="${pageContext.request.contextPath}/skip/login.do"
					>会员中心</a>
				</li>
				
			</ul>
			<!--移动的滑动-->
			<div class="move-bg"></div>
			
		</div>

	</div>
</body>
</html>